/*
 * IoPort.h
 *
 *  Created on: 2024年8月1日
 *      Author: Chunfeng.Hong
 */

#ifndef BSW_CDD_IOHWAB_INC_IOHWAB_DIO_H_
#define BSW_CDD_IOHWAB_INC_IOHWAB_DIO_H_

#include "GpioPort.h"

typedef enum{
	CAN2_STB ,
	CAN1_STB ,
	IO_Reserved_LSD_1_Ctr ,
	IO_Reserved_LSD_2_CtrI_DIAG_EN ,
	IO_Reserved_LSD_2_Ctr ,
	IO_DO_HSD_2CH_DSEL ,
	IO_DO_HSD_DIAG_EN ,
	IO_94112_EN ,
	IO_Back_Light_Ctrl ,
	IO_LIN4_SLP_N ,
	IO_Central_Lock_Ctrl ,
	IO_Central_Unlock_Ctrl ,
	IO_Front_Wiper_High_Ctrl ,
	IO_ESCL_POW_OUT_Ctrl ,
	IO_Front_Washer_Ctrl ,
	IO_Reverse_LightAT_Ctrl ,
	IO_LIN2_SLP_N ,
	IO_Interior_Light_DlAG_EN ,
	IO_Front_Wiper_Low_Ctrl ,
	IO_ESCL_Lock_UnLock ,
	IO_ESCL_Power_Supply ,
	IO_Reserved_HSD_5 ,
	IO_Reserved_HSD_4 ,
	IO_Crank_Relay_Ctrl ,
	IO_ACC_Relay_Ctrl ,
	IO_IGN1_ING2_ACC_SRG_DSEL1 ,
	IO_IGN2_Relay_Ctrl ,
	IO_IGNI_ING2_ACC_SRG_DSEL0 ,
	IO_RUNNING_LED ,
	IO_IGN1_Relay_Ctrl_Lock ,
	IO_Limphome_Trigger ,
	IO_IGN1_Relay_Ctrl ,
	IO_Wiper_gear_2 ,
	IO_Wiper_gear_1 ,
	IO_Interior_Light_CTRL ,
	IO_LIN3_SLP_N ,
	IO_Elec_ATWS_Status_Indicator_Ctrl ,
	IO_Engine_ATWS_Status_Indicator_Ctrl ,
	IO_IGN_POW_OUT_Ctrl ,
	IO_Mirror_Fold_Ctrl ,
	IO_Mirror_Unfold_Ctrl ,
	IO_POWER_2910_COR ,
	IO_2910_RSTN ,
	IO_LF_RST ,
	IO_Battery_Saver ,
	IO_Reserved_HSD_l_Ctrl ,
	IO_Reserved_HSD_3_Ctrl ,
	IO_Reserved_HSD_2_Ctrl ,
	IO_LIN1_SLP_N ,
	IO_5V_PU_EN ,
	IO_450M5_EN ,
	IO_WD_EN ,
	IO_Reserved_LSD_1_CtrI_DIAG_EN ,
	IO_FEED_WD ,
	IO_Turn_Right_Lamp_light_CTRl ,
	IO_Turn_Left_Lamp_light_CTRl ,
	IO_Brake_CHMSLLight_CTRL ,
	IO_Low_Beam_Light_Ctrl ,
	IO_PositionLicense_Plate_DRL_Ctrl ,

	IO_LIN4_INH ,
	IO_LF_BUSY_INT ,
	IO_Front_Washer_Switch ,
	IO_Eco_Mode_Switch ,
	IO_Interior_Light_DlAG ,
	IO_ESCL_Power_Supply_DIAG ,
	IO_LIN2_INH ,
	IO_Front_Wiper_Park_Switch ,
	IO_Front_radar_Switch ,
	IO_Sport_Mode_Switch ,
	IO_Shift_P_Signal_Switch_AT__Reserved ,
	IO_Snow_Mode_Switch ,
	IO_Vehicle_speed_lock_Switch ,
	IO_Rear_Fog_Light_switch ,
	IO_Front_Fog_Light_switch ,
	IO_LIN3_INH ,
	IO_73112_nFAULT ,
	IO_RF_REDN ,
	IO_LIN1_INH ,
	IO_9555_INT ,
	IO_Reverse_Gear_Switch_MT ,
	IO_ESCL_Status_Feedback ,
	IO_LF_IRQ_INT_WPS ,
	IO_RF_INT_N_WPS ,
	IO_ACC_Switch_WPS ,
	IO_Brake_Switch_Switch_WPS ,
	IO_IGNl_Switch_WPs ,
	IO_Switch_WAKEUP_EN_WPS ,
	IO_KeyInsertion_Switch_Reserved_WPS ,
	IO_Hazard_Switch_NonSelfLock_WPS ,
	IO_Hazard_Switch_SelfLock_WPS ,
}Dio_ChannelType;

typedef enum{
	 STD_LOW,
	 STD_HIGH
}Dio_LevelType;

void Dio_WriteChannel( Dio_ChannelType ChannelId, Dio_LevelType Level );

#endif /* BSW_CDD_IOHWAB_INC_IOHWAB_DIO_H_ */
